Skip to main content

Boolean

Description

The boolean property can simply be understood as a switch. It is mostly used to toggle element functionality, like activating or deactivating a shadow.

FeatureValue
Theme injectable
Possible Inputstrue or false

Occurrences

Detail Panel

In the Detail Panel, boolean properties are used in various toggles and pickers – for example the Toolbar Extension Toggle Picker.
Turning the switch on/off enables or disables the related behavior (e.g. a shadow).

Example for picker with boolean value